﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Services;
using YaAppoint.Departments;

namespace YaAppoint.Users
{
    [RemoteService(isEnabled: false)]
    public interface ICurrentUserDepartmentAppService:IApplicationService
    {
        Task<List<DepartmentDto>> GetDepartmentsByUserNameAsync(string userName);

        Dictionary<string, string> GetCurrentUserDepartment();
    }
}
